<HTML>
<HEAD>
<meta charset="UTF-8">
<title>VideoFrameTextureBuffer.retain - amazon-chime-sdk</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">amazon-chime-sdk</a>&nbsp;/&nbsp;<a href="../index.html">com.amazonaws.services.chime.sdk.meetings.audiovideo.video.buffer</a>&nbsp;/&nbsp;<a href="index.html">VideoFrameTextureBuffer</a>&nbsp;/&nbsp;<a href="./retain.html">retain</a><br/>
<br/>
<h1>retain</h1>
<a name="com.amazonaws.services.chime.sdk.meetings.audiovideo.video.buffer.VideoFrameTextureBuffer$retain()"></a>
<code><span class="keyword">fun </span><span class="identifier">retain</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
<p>Retain the video frame buffer. Use when shared ownership of the buffer
is desired (e.g. when passing to separate thread), otherwise the frame
may be spuriously released</p>
</BODY>
</HTML>
